  //角色信息
  export interface Role {
    id: string;
    roleName: string; //
    roleCode: string; // 
    status:'active' | 'inactive';
    parentId: string;
  }

  //功能权限
  export interface RolePermission {
    id: string;
    roleId: string; //
    permissionId: string; // 
    permissions:[],
    roles:[],
  }

  //成员
  export interface RoleUser {
    id: string;
    roleId: string; //
    userId: string; // 
    users:[],
    roles:[],
  }
  
  // 模型选项
  export interface ModelOption {
    id: string;
    name: string;
    description?: string;
  }
  
  // 创建/编辑智能体的表单值类型
  export type RoleFormValues = Omit<Role, 'id' > & {

  };

   
  export type RoleUserFormValues = Omit<RoleUser, 'id' > & {

  };

   
  export type RolePermissionFormValues = Omit<RolePermission, 'id' > & {

  };
